package org.example.nt.bc;

import javax.net.ssl.X509ExtendedKeyManager;
import java.net.Socket;
import java.security.Principal;
import java.security.PrivateKey;
import java.security.cert.X509Certificate;

public class BC_KeyManager extends X509ExtendedKeyManager {
    private X509Certificate[] ca;

    public BC_KeyManager(X509Certificate[] ca) {
        this.ca = ca;
    }


    @Override
    public String[] getClientAliases(String s, Principal[] principals) {
        return new String[0];
    }

    @Override
    public String chooseClientAlias(String[] strings, Principal[] principals, Socket socket) {
        return null;
    }

    @Override
    public String[] getServerAliases(String s, Principal[] principals) {
        return new String[0];
    }

    @Override
    public String chooseServerAlias(String s, Principal[] principals, Socket socket) {
        return null;
    }

    @Override
    public X509Certificate[] getCertificateChain(String s) {
        return new X509Certificate[0];
    }

    @Override
    public PrivateKey getPrivateKey(String s) {
        return null;
    }
}
